<h4> Criar Usuario </h4>

<div>
    <form name="createUserForm" method="post" action="#">
        <div>
            <label for="name">Nome</label>
            <input type="text" name="name"/>
        </div>        
        <div>
            <label for="tel">Telefone</label>
            <input type="text" name="tel"/>
        </div>
        <div>
            <label for="email">Email</label>
            <input type="text" name="email"/>
        </div>
        <div>
            <label for="profession">Profiss&atilde;o</label>
            <input type="text" name="profession"/>
        </div>
         <div>
            <label for="password">Senha</label>
            <input type="password" name="password"/>
        </div>
        <div>
            <input type="submit" name="createUserSubmit" value="Criar Usu&aacute;rio"/>
        </div>
        
    </form>
</div>

<?php
    //mostra logs de bom funcionamento
    if(isset($this->message))
    {
?>
      <div class="message">
            <?=$this->message;?>
      </div>
 <?php
    }
 ?>


<?php
    //mostra logs de erro
    if(isset($this->error))
    {
?>
      <div class="error">
            <?=$this->error;?>
      </div>
 <?php
    }
 ?>
